package edu.sctu.practice.class01.renpingan.assign03.geometricobject;

/**
 * Created by Administrator on 2015/10/22.
 */
public class ShowInfo {

    public static void displayGeometricObject(GeometricObject object) {

        System.out.println("第一个图形："+"\n");
        System.out.println("颜色为：" + object.color);
        System.out.println("面积为：" + object.findArea());
        System.out.println("周长为：" + object.findPerimeter());
        System.out.println("\n");

    }

}
